package com.sikaryofficial.workbench.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 商品描述
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("goods_desc_t")
public class GoodsDesc {

    /**
     * 商品描述主键
     */
    @TableId(type = IdType.ASSIGN_ID, value = "goods_desc_id")
    private Long goodsDescId;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 描述类型：1-描述，2-参数
     * @see com.sikaryofficial.workbench.constant.GoodsDescTypeEnum
     */
    private Integer descType;
    /**
     * 描述内容
     */
    private String descContent;
}
